﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;

namespace ALS.Component.Tools.AsyncTcp
{
    public class TcpClientDisconnectedEventArgs : EventArgs
    {
        public TcpClient TcpClient { get; private set; }

        public TcpClientDisconnectedEventArgs(TcpClient tcpClient)
        {
            if (tcpClient == null)
            {
                throw new ArgumentNullException("tcpClient");
            }
            this.TcpClient = tcpClient;
        }
    }
}
